<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{dede:field.typename/}-{dede:global.cfg_webname/}</title>
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
<meta http-equiv="mobile-agent" content="format=html5; url={dede:global.mcfg_basehost/}{dede:type typeid='0' row=1}[field:typelink/]{/dede:type}">
<link rel="canonical" href="{dede:global.cfg_basehost/}{dede:type typeid='0' row=1}[field:typelink/]{/dede:type}"/>
<link rel="alternate" media="only screen and(max-width:640px)" href="{dede:global.mcfg_basehost/}{dede:type typeid='0' row=1}[field:typelink/]{/dede:type}">
<link href="{dede:global.cfg_basehost/}/css/v2_index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{dede:global.cfg_basehost/}/js/jquery.js"></script>
<script type="text/javascript" src="{dede:global.cfg_basehost/}/system/gzs.ajax.js"></script>
<script type="text/javascript">
function CheckLogintop(){
var taget_obj = document.getElementById('_userlogin');
myajax = new DedeAjax(taget_obj,false,false,'','','');
myajax.SendGet2("/user/ajax_loginsta.php");
DedeXHTTP = null;
}
</script>
<script type="text/javascript">
var bForcepc = fGetQuery("dv") == "pc";    
function fBrowserRedirect(){    
    var sUserAgent = navigator.userAgent.toLowerCase();    
    var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";      
    var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";    
    var bIsMidp = sUserAgent.match(/midp/i) == "midp";    
    var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";    
    var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";    
    var bIsAndroid = sUserAgent.match(/android/i) == "android";    
    var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";    
    var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";    
   
    if(bIsIphoneOs || bIsAndroid){    
        var sUrl = location.href;        
        if(!bForcepc){    
            window.location.href = "{dede:global.mcfg_basehost/}{dede:type typeid='0′ row=1}[field:typelink/]{/dede:type}";
        }    
    }    
    if(bIsMidp||bIsUc7||bIsUc||bIsCE||bIsWM){    
        var sUrl = location.href;        
        if(!bForcepc){    
            window.location.href = "{dede:global.mcfg_basehost/}{dede:type typeid='0′ row=1}[field:typelink/]{/dede:type}";
        }    
    }    
}    
function fGetQuery(name){//获取参数值    
    var sUrl = window.location.search.substr(1);    
    var r = sUrl.match(new RegExp("(^|&)" + name + "=([^&]*)(&|$)"));    
    return (r == null ? null : unescape(r[2]));    
}    
function fShowVerBlock(){       
    if(bForcepc){    
        document.getElementById("dv_block").style.display = "block";    
    }    
    else{    
        document.getElementById("ad_block").style.display = "block";    
    }    
}    
fBrowserRedirect();    
</script>
<style type="text/css">
span.pageinfo{display:none;}
</style>
</head>
<body>

{dede:include filename="head.htm"/}

<!-- 面包削 -->
<div class="mianbaoxiao clearfix"><div class="mianbao-min"><a href="{dede:global.cfg_basehost/}/" rel="nofollow">首页</a> > <a href="{dede:global.cfg_basehost/}/courses/">全部课程</a> > {dede:type}[field:typename /]{/dede:type}</div></div>
<!-- 面包削End -->


<!-- 课程分类 -->
<div class="peixun-kecheng clearfix">
<div class="kecheng-fl-pc">
<span>分类：</span>
<div class="tiny-list fl">
<a href="{dede:global.cfg_basehost/}/courses/">全部课程</a>
{dede:channel type='sun' currentstyle="<a href='~typelink~' class='on'>~typename~</a>"}<a href="[field:global.cfg_basehost/][field:typeurl/]">[field:typename/]</a>{/dede:channel}
</div>
</div>
</div>
<!-- 课程分类 End -->


<div class="figures_list container">

<!-- 课程列表 -->
<div class="m-header-video">
<ul class="content_list clearfix">
{dede:listsql sql="SELECT * FROM #@__arctype WHERE `reid` = '18' AND `fenlei` = '~id~' ORDER BY id DESC" pagesize="15"}
<li class="content_item">
<a href="[field:global.cfg_basehost/][field:array runphp='yes'] @me = GetOneTypeUrlA(@me);[/field:array]" class="link" title="[field:typename/]" target="_blank">
<img class="course-img-bg lazy-img" data-original="[field:bigpic function='mstrone(@me)'/]">
<div class="main_title">[field:typename/]</div>
<div class="sub_title">
[field:array runphp='yes']
global $cfg_dazhe,$cfg_zhekou,$cfg_dqtime;
$oprice = @me['price'];
$time = time();
$timestamp = strtotime($cfg_dqtime);
if(!empty($oprice))
{
if($cfg_dazhe == 'Y' && $timestamp > $time)
{
$dzprice = $oprice / 100 * $cfg_zhekou;
@me = "<span class=\"price\"><i>￥</i>{$dzprice} <small>￥{$oprice}</small></span>";}
else{
@me = "<span class=\"price\"><i>￥</i>{$oprice}</span>";}
}else{
@me = "<span class=\"ke-mianfei\">免费</span>";}
[/field:array]
<span class="item_right fr">[field:id function="JJgetCliak(@me)"/]次学习</span>
</div>
</a>
</li>
{/dede:listsql}
</ul>
</div>
<!-- 课程列表 End -->

<!-- 分页 -->
<div id="showpage_min">{dede:pagelist listitem="pre,next,pageno" listsize="3"/}</div>
<!-- 分页 End -->

</div>

{dede:include filename="footer.htm"/}
{dede:include filename="wz-tongji.htm"/}

<script type="text/javascript" src="{dede:global.cfg_basehost/}/js/jquery.lazyload.js"></script>
<script type="text/javascript">
!function(){var n,f={};f.curr=1,n=20;var a=function(){},c=function(){$(".lazy-img").lazyload({effect:"fadeIn"})},i=function(){a(),c()};i()}();
</script>

</body>
</html>